import baseUrl from './base-url-config'

const { product } = baseUrl

export default {
  // 登录验证
  loginVerify: {
    url: `${product}/edc/sys/auth/login`,
    method: 'POST',
  },
  // 退出登录
  logout: {
    url: `${product}/edc/sys/auth/logout`,
    method: 'POST',
  },
  // 获得登录用户的菜单列表
  getListMenus: {
    url: `${product}/edc/sys/auth/list-menus`,
    method: 'GET',
  },
  // 获取登录用户的权限信息
  getPermissionInfo: {
    url: `${product}/edc/sys/auth/get-permission-info`,
    method: 'GET',
  },

  // 获取登录用户信息
  qryUserInfoByToken: {
    url: `${product}/edc/sys/auth/get-user-info`,
    method: 'GET',
  }
}
